package com.sakila.service;

import java.util.List;

import com.sakila.pojo.other.Page;

public interface BaseService<T> {
	List<T> findAll(Page page);
	T findById(int id);
	boolean save(T t);
	boolean update(T t);
	Long getTotalNumOfRows();
}
